//
// Created by zing on 3/30/2020.
//

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>

int main() {
    int i = 0;
    while (i < 10) {
        sleep(1);
        time_t t;
        time(&t);
        printf("%s", ctime(&t));
        i++;
    }
    return EXIT_SUCCESS;
}